/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.wx.entity.WxActivityConfig;
import com.jeesite.modules.wx.dao.WxActivityConfigDao;

/**
 * wx_activity_configService
 * @author wangjianxin
 * @version 2018-09-28
 */
@Service
@Transactional(readOnly=true)
public class WxActivityConfigService extends CrudService<WxActivityConfigDao, WxActivityConfig> {
	
	/**
	 * 获取单条数据
	 * @param wxActivityConfig
	 * @return
	 */
	@Override
	public WxActivityConfig get(WxActivityConfig wxActivityConfig) {
		return super.get(wxActivityConfig);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param wxActivityConfig
	 * @return
	 */
	@Override
	public Page<WxActivityConfig> findPage(Page<WxActivityConfig> page, WxActivityConfig wxActivityConfig) {
		return super.findPage(page, wxActivityConfig);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param wxActivityConfig
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(WxActivityConfig wxActivityConfig) {
		super.save(wxActivityConfig);
	}
	
	/**
	 * 更新状态
	 * @param wxActivityConfig
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(WxActivityConfig wxActivityConfig) {
		super.updateStatus(wxActivityConfig);
	}
	
	/**
	 * 删除数据
	 * @param wxActivityConfig
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(WxActivityConfig wxActivityConfig) {
		super.delete(wxActivityConfig);
	}
	
}